﻿using Microsoft.Extensions.Logging;
using SqlSugar;

namespace Admin.Crypto
{
    public class CustomerContactRepository : SqlSugarRepository<CustomerContact>, ICustomerContactRepository
    {
        public CustomerContactRepository(ISqlSugarClient client, ILoggerFactory factory) : base(client, factory)
        {
        }

        public virtual async Task<bool> CreateAsync(CustomerContact entity)
        {
            return await this.InsertAsync(entity);
        }
    }
}
